package com.ruoyi.system.domain.vo;

import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.StrUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;

public class LargeScreenVo {

    @Data
    public static class ScreenResult {
        private Long id;
        private String name;
        private String phone;
        @ApiModelProperty("1低  2中 3高")
        private String dangeStatus;
        private List<Result> resultList;

        @Data
        public static class Result {
            private String code;
            private String answer;
        }
    }


    //太原市筛查人数统计
    @Data
    @ApiModel("太原市筛查人数统计")
    public static class Tysscrstj {
        @ApiModelProperty("二级接入量")
        private int ejnum;
        @ApiModelProperty("二级高危人数")
        private int ejgw;
    }

    @Data
    @ApiModel("太原市筛查年龄段人数统计")
    public static class Tysscnldrstj {
        @ApiModelProperty("40岁以下")
        private int num1 = 0;
        @ApiModelProperty("40-45")
        private int num2 = 0;
        @ApiModelProperty("46-59")
        private int num3 = 0;
        @ApiModelProperty("60-70")
        private int num4 = 0;
        @ApiModelProperty(">70")
        private int num5 = 0;
    }

    @Data
    @ApiModel("二级医疗机构高危人群病种分布统计")
    public static class Eryybzfb {
        @ApiModelProperty("脑梗死")
        private int num1 = 0;
        @ApiModelProperty("脑出血")
        private int num2 = 0;
    }

    @Data
    @ApiModel("太原市卒中管理统计")
    public static class Tysczgltj {
        @ApiModelProperty("社区医疗机构接入量")
        private int sqnum = 14;
        @ApiModelProperty("高危")
        private int sqgw;
        @ApiModelProperty("中危")
        private int sqzw;
        @ApiModelProperty("低危")
        private int sqdw;
        @ApiModelProperty("认知障碍")
        private int sqrzza;
        @ApiModelProperty("累计总数")
        private int sqz;
    }


    @Data
    @ApiModel("太原市卒中分类占比")
    public static class Tysczflzb {
        @ApiModelProperty("脑梗死")
        private int ngs;
        @ApiModelProperty("脑出血")
        private int ncx;
        @ApiModelProperty("短暂性脑缺血发作")
        private int dzxnqxfz;
        @ApiModelProperty("蛛网膜下腔出血")
        private int zwmxqcx;
        @ApiModelProperty("其他")
        private int qt;
    }


    @Data
    @ApiModel("本院住院人群分布")
    public static class Byzyrqfb {
        @ApiModelProperty("脑梗死")
        private int ngs;
        @ApiModelProperty("脑出血")
        private int ncx;

//        @ApiModelProperty("高危人数")
//        private int gwrs;
//        @ApiModelProperty("中重人数")
//        private int zzwrs;
//        @ApiModelProperty("中危人数")
//        private int zwrs;
//        @ApiModelProperty("低危人数")
//        private int dwrs;
    }

    @Data
    @ApiModel("本市DNT质控")
    public static class Bsdntzk {
        @ApiModelProperty(">60分钟比例")
        private int num1 = 0;
        @ApiModelProperty("<60分钟比例")
        private int num2 = 0;
        @ApiModelProperty("<45分钟")
        private int num3 = 0;
        @ApiModelProperty("<30分钟")
        private int num4 = 0;
    }

    @Data
    @ApiModel("住院DNT质控")
    public static class Zydntzk {
        @ApiModelProperty(">60分钟比例")
        private int num1 = 0;
        @ApiModelProperty("<60分钟比例")
        private int num2 = 0;
        @ApiModelProperty("<45分钟")
        private int num3 = 0;
        @ApiModelProperty("<30分钟")
        private int num4 = 0;
    }

    @Data
    @ApiModel("住院DPT质控")
    public static class Zydptzk {
        @ApiModelProperty(">60分钟比例")
        private int num1 = 0;
        @ApiModelProperty("<60分钟比例")
        private int num2 = 0;
        @ApiModelProperty("<45分钟")
        private int num3 = 0;
        @ApiModelProperty("<30分钟")
        private int num4 = 0;
    }

    @Data
    @ApiModel("本院神经内/外科住院人数统计")
    public static class Bysjnwkzyrstj {
        @ApiModelProperty("今日人数")
        private int today;
        @ApiModelProperty("本月人数")
        private int month;
        @ApiModelProperty("本年人数")
        private int year;

        @ApiModelProperty("溶栓人数")
        private int rs;
        @ApiModelProperty("介入治疗人数")
        private int jrzl;
        @ApiModelProperty("造影")
        private int dsa;
    }

    @Data
    @ApiModel("本院神经内/外科住院年龄段人数统计")
    public static class Bysjnwknldrstj {
        @ApiModelProperty("40岁以下")
        private int num1 = 0;
        @ApiModelProperty("40-45")
        private int num2 = 0;
        @ApiModelProperty("46-59")
        private int num3 = 0;
        @ApiModelProperty("60-70")
        private int num4 = 0;
        @ApiModelProperty(">70")
        private int num5 = 0;
    }

    @Data
    @ApiModel("国家质控网卒中治疗分布")
    public static class Gjzkwczzlfb {
        @ApiModelProperty("静脉溶栓比例")
        private BigDecimal jmrsBl;
        @ApiModelProperty("介入再通比例")
        private BigDecimal jrztBl;
        @ApiModelProperty("脑出血比例")
        private BigDecimal ncxBl;
        @ApiModelProperty("颅内动脉瘤比例")
        private BigDecimal lndmlBl;
        @ApiModelProperty("cea比例")
        private BigDecimal ceaBl;
        @ApiModelProperty("cas比例")
        private BigDecimal casBl;

        @ApiModelProperty("静脉溶栓")
        private int jmrs;
        @ApiModelProperty("介入再通")
        private int jrzt;
        @ApiModelProperty("脑出血")
        private int ncx;
        @ApiModelProperty("颅内动脉瘤")
        private int lndml;
        @ApiModelProperty("cea")
        private int cea;
        @ApiModelProperty("cas")
        private int cas;
    }

    @Data
    @ApiModel("本市卒中中心质控")
    public static class Bsczzxzk {
        @ApiModelProperty("ODT")
        private int odt = 0;
        @ApiModelProperty("DNT")
        private int dnt = 0;
        @ApiModelProperty("DIT")
        private int dit = 0;
        @ApiModelProperty("DPT")
        private int dpt = 0;
        @ApiModelProperty("DRT")
        private int drt = 0;
        @ApiModelProperty("PRT")
        private int prt = 0;
    }

    @Data
    @ApiModel("本院卒中中心疾病种类分布")
    public static class Byczzxjbzlfb {
        @ApiModelProperty("脑梗死")
        private int ngs;
        @ApiModelProperty("TIA")
        private int tia;
        @ApiModelProperty("脑出血")
        private int ncx;
        @ApiModelProperty("蛛网膜下腔出血")
        private int zwmxqcx;
        @ApiModelProperty("颅内静脉血栓形成")
        private int lnjmxsxc;
        @ApiModelProperty("动脉盗血")
        private int dmdx;
        @ApiModelProperty("血管性痴呆")
        private int xgxcd;
        @ApiModelProperty("卒中后睡眠障碍")
        private int czhsmza;
        @ApiModelProperty("血管性帕金森")
        private int xgxpjs;
        @ApiModelProperty("其他")
        private int qt;

    }

    @Data
    @ApiModel("通过地区code查看医院信息及筛查人数")
    public static class getHospitalAndNum {
        @ApiModelProperty("医院名称")
        private String hospitalName;
        @ApiModelProperty("筛查数据")
        private int count = 0;
        private String orgCode;
    }


}
